Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Apache Spark Interview Questions and Answers

Question: Explain the difference between narrow and wide transformations in Spark.
Answer: Narrow transformations involve operations where each input partition contributes to only one output partition. Wide transformations involve operations where multiple input partitions contribute to multiple output partitions.

Example:

Narrow: map, filter
Wide: groupByKey, reduceByKey
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook